define("{seajs}/plugin-less",["./plugin-base","less"],function(require){var plugin=require("./plugin-base");var less=require("less");plugin.add({name:"less",ext:[".less"],fetch:function(url,callback){less.Parser.importer(url,[],function(e,tree){createCSS(tree.toCSS(),url.replace(/[^\w]/g,"_"));callback()},{})}});function createCSS(cssText,id){var elem=document.getElementById(id);if(elem){return}elem=document.createElement("style");elem.id=id;document.getElementsByTagName("head")[0].appendChild(elem);if(elem.styleSheet){elem.styleSheet.cssText=cssText}else{elem.appendChild(document.createTextNode(cssText))}}});